<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Member extends Model
{
    use HasFactory;

    protected $connection = 'mysql_member';
    protected $table = 'life_member';

    protected $fillable = [
        'id',
        'nickname',
        'username',
        'password',
        'credits_id',
        'account_id',
        'coin_id',
        'level_id',
        'traders_password',
        'vip_date',
        'thirdparty',
        'type',
        'status',
        'is_auth',
        'created_at',
        'updated_at',
        'salt',
        'content',
        'finance_account_status',
        'modify_time',
        'is_virtual',
        'talker_id',
    ];

    protected $casts = [
        'username' => 'string',
    ];
}
